#ifndef SETTINGSLOADER_H_INCLUDED
#define SETTINGSLOADER_H_INCLUDED

#include <iostream>
#include <fstream>

using namespace std;

//SettingsLoader.h - Static container for all settings


class SettingsLoader{
    //TODO: Implement Untyped members to allow for runtime casting?
    private:
    char* keyValue[2][8];

    public:
    char* DataBasePath;
    int BusID;
    float GpsPointRadius;

    int AverageInterval;
    int TransmitInterval;
    int TimeQueueSize;
    int AverageQueueSize;


    SettingsLoader();
};

SettingsLoader::SettingsLoader(){
    ifstream settingsFile;
    settingsFile.open("htc.cfg");

    DataBasePath = "lol";
    BusID = 123;
    GpsPointRadius = 23.544;
    TimeQueueSize = 5;
    settingsFile.close();
}

class Settings{
    public:
    static SettingsLoader htc;
};

SettingsLoader Settings::htc = SettingsLoader();



#endif // SETTINGSLOADER_H_INCLUDED
